﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using KPIS.GERP.GBMS.IBLL;
using KPIS.GERP.GBMS.MODEL;

namespace KPIS.GERP.GBMS.IBLL
{
    public interface IStrategyPlanBLL
    {
        int Insert(int MapSeq, int ListSeq, int? UpperMapSeq, int Year, string Status, string Code, int CreatedBy, DateTime CreatedWhen);

        void Update();

        void Delete(int Seq);

        void Approve(string bgm_year, string UpdatedBy);

        DataTable GetStrategyBySequence(int Sequence);

        DataTable GetStrategyPlanByYear(int Year);

        DataTable GetStrategyTypeForCombobox(int StratrgyDataMapSeq,string AddType);

        DataTable GetStrategyDataListForCombobox(int StratrgyType,int Year);

        string[] GetParentStrategyTypeName(int StratrgyDataMapSeq);

        int CheckAddChild(int StratrgyDataMapSeq);

        int CheckAddParent(int StratrgyDataMapSeq);

        string CloneStrategyPlanByYear(int CloneFromYear, int ToYear, int CreateBy);

        int GetUpperStratMapSeq(int StratDataMapSeq);

        int GetRootStrategyTypeSeq();
    }
}
